package com.syg;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author syg
 */
@EnableScheduling
@SpringBootApplication
public class ScheduledApplication {

    private static Logger logger = LoggerFactory.getLogger(ScheduledApplication.class);

    public static void main(String[] args) {
        try {
            SpringApplication.run(ScheduledApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
            System.out.println(e);
        }
    }
}
